projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4433df3
)
* src/eval.c (Ffunctionp): Clarify "function" in doc string.
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 10 May 2022 22:20:49 +0000
(15:20 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 10 May 2022 22:21:57 +0000
(15:21 -0700)
src/eval.c
patch
|
blob
|
history
diff --git
a/src/eval.c
b/src/eval.c
index 77ec47e2b797feabbc6a6e9d999b135192b9e388..950338bf799c09a6cfd459117d61e6d611e569ff 100644
(file)
--- a/
src/eval.c
+++ b/
src/eval.c
@@
-2803,7
+2803,11
@@
apply1 (Lisp_Object fn, Lisp_Object arg)
}
DEFUN ("functionp", Ffunctionp, Sfunctionp, 1, 1, 0,
- doc: /* Return t if OBJECT is a function. */)
+ doc: /* Return t if OBJECT is a function.
+
+An object is a function if it is callable via `funcall';
+this includes primitive functions, byte-code functions, closures, and
+symbols with function bindings. */)
(Lisp_Object object)
{
if (FUNCTIONP (object))